﻿<Page x:Class="EduAssess.Views.StartPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      DataContext="{Binding Source={StaticResource ViewModelLocator}, Path=StartPageViewModel}"
      mc:Ignorable="d"
      Title="StartPage" Height="450" Width="800">
    <Grid>
        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
            <Button Content="Список тестов" 
                    Width="200"
                    FontSize="14"
                    Margin="5"
                    Command="{Binding OpenTestsListCommand}"/>
            <Button Content="Создать тест"
                    Width="200"
                    FontSize="14"
                    Margin="5"
                    Command="{Binding CreateTestCommand}"/>
            <Button Content="Выйти"
                    FontSize="14"
                    Width="200"
                    Margin="5"
                    Command="{Binding ExitCommand}"/>
        </StackPanel>
    </Grid>
</Page>
